package com.chenglai.pay.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 类描述：
 *
 * @Author rxh
 * @Date 2023/11/21 10:20
 */
@Component
public class WxConfig {

    @Value("${wx.appid}")
    private String appId;

    @Value("${wx.appsecret}")
    private String appSecret;

    @Value("${wx.redirectUrl}")
    private String redirectUrl;

    @Value("${wx.createdOrderURL}")
    private String createdOrderURL;

    @Value("${wx.refundUrl}")
    private String refundUrl;

    @Value("${wx.refundNotifyUrl}")
    private String refundNotifyUrl;

    public String getAppId() {
        return appId;
    }
    public void setAppId(String appId) {
        this.appId = appId;
    }
    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getCreatedOrderURL() {
        return createdOrderURL;
    }

    public void setCreatedOrderURL(String createdOrderURL) {
        this.createdOrderURL = createdOrderURL;
    }

    public String getRefundUrl() {
        return refundUrl;
    }

    public void setRefundUrl(String refundUrl) {
        this.refundUrl = refundUrl;
    }

    public String getRefundNotifyUrl() {
        return refundNotifyUrl;
    }

    public void setRefundNotifyUrl(String refundNotifyUrl) {
        this.refundNotifyUrl = refundNotifyUrl;
    }
}
